package com.mdb.open.epay.enums.type;

import com.mdb.bc.api.enums.ApiEnum;

/**
 * 账号类型
 *
 * @author liuyi
 * @date 2019/11/14
 **/
public enum BankAccTypeEnum implements ApiEnum<String> {

    CURRENT("活期账户","1"),
    ;

    //枚举描述
    private String text;

    private String coreAccType;

    BankAccTypeEnum(String text, String coreAccType) {
        this.text = text;
        this.coreAccType = coreAccType;
    }

    @Override
    public String getValue() {
        return this.name();
    }

    @Override
    public String getText() {
        return this.text;
    }

    public String getCoreAccType() {
        return coreAccType;
    }
}
